﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Wolfbyte.Core.Repositories;

namespace Wolfbyte.Core.UnitOfWork
{
    public interface IUnitOfWork : IDisposable
    {
        IRepository<T> Repository<T>() where T : class;

        void Save();

        void Start();

        void Stop();

        bool Started { get; }
    }
}